#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>

class QGraphicsScene;

namespace Ui {
    class MainWindow;
}

class CardListModel;

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit MainWindow(QWidget *parent = 0);
    ~MainWindow();

    CardListModel *hand;
    CardListModel *library;
    CardListModel *graveyard;
    QGraphicsScene *battleField;

    static MainWindow *instance;


private:
    Ui::MainWindow *ui;

    void resizeEvent(QResizeEvent *event);

private slots:
    void drawCard();
};

#endif // MAINWINDOW_H
